//加载公共样式
require('../../assets/css/public.less')

//加载自己的样式
require('./321.less')
window.onload = () => {
    let n = 3;
    setInterval(() => {
        --n
        if (n > 0) {
            num.textContent = n
            console.log(n);
        } else if (n === 0) {
            num.textContent = 'GO'
            console.log(n);
        } else if (n < 0) {
            console.log(n);
            window.location.href = "./sporting.html"

        }
    }, 1000)
}